<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">

    <h:head>
        <title>Add Branch Information</title>
    </h:head>

    <h:body>
        <h:panelGrid columns="2" cellpadding="10">
            <h:outputLabel for="stakeholderDesc" style="font-weight: bold" value="Branch Description: " />
            <h:inputTextarea required="true" label="Branch Description" 
                             id="stakeholderDesc" value="#{stakeholderManagerBean.stakeholderDesc}"
                             style="width:300px;height:100px;"/>

            <h:form id ="stakeholderForm" enctype="multipart/form-data">
                <h:panelGrid columns="2" cellpadding="10">
                    <h:outputLabel value="Stakeholder Image: " />
                    <p:fileUpload fileUploadListener="#{fileUploadController.handleFileUpload}" 
                                  auto ="true" update="msgs" allowTypes="*.jpg;*.png;*.gif;" description="Images"/>
                     <p:growl id="msgs" showDetail="true"/>
                </h:panelGrid>
            </h:form>                   

        </h:panelGrid>
    </h:body>
</html>